﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Reviewer.Entities.Services
{

    /// <summary>
    /// Front Page Post Image Service Interface
    /// </summary>
    [ServiceContract(Namespace = "Reviewer.Services")]
    public interface IFrontPagePostImageService : IDisposable
    {
        /// <summary>
        /// Finds this instance.
        /// </summary>
        /// <returns></returns>
        ICollection<FrontPagePostImage> Find();
        
        /// <summary>
        /// Finds the specified id.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <returns></returns>
        FrontPagePostImage Find(int id);
    }

    /// <summary>
    /// Front Page Post Image Administration Service Interface
    /// </summary>
    [ServiceContract(Namespace = "Reviewer.Services")]
    public interface IFrontPagePostImageAdminService : IDisposable
    {
        /// <summary>
        /// Saves the specified post.
        /// </summary>
        /// <param name="post">The post.</param>
        /// <returns></returns>
        FrontPagePostImage Save(FrontPagePostImage post);
    }

}
